using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ObjTimeDestroy : MonoBehaviour
{
    public float destroyTime;
    void Start()
    {
        Invoke("Des", destroyTime);
    }


    public void Des()
    {
        Destroy(gameObject);
    }
}
